home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2000 September / maximum-cd-2000-09.iso / Vampire the Masquerade / vampire_demo.exe / Codex.nob / ClassSkeletonWraith.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-22  |  955 b   |  11 lines

  1. public class ClassSkeletonWraith extends Codex {
  2.    public void awaken(int guid, int causeID, int captureID) {
  3.       CodexActor skeletonThing = new CodexActor(guid);
  4.       skeletonThing.SetActorFlags(4);
  5.       CodexWorld world = new CodexWorld(12345678);
  6.       CodexVector position = new CodexVector(((CodexThing)skeletonThing).GetPosition());
  7.       CodexVector orientation = new CodexVector(((CodexThing)skeletonThing).GetPosition());
  8.       world.CreateThing("Szlachta", position.AsArray(), orientation.AsArray());
  9.    }
  10. }
  11.